# -*- mode: sh; sh-shell: sh -*-

case "$TRAVIS_OS_NAME" in
  (linux) headless=xvfb-run ;;
  (osx) headless='' ;;
esac

$headless ./gradlew --continue --no-build-cache --stacktrace \
	  "$submodule"build \
	  "$submodule"javadoc \
	  lintGradle
